<?php
/**
 * 消息
 * User: Truman
 * Date: 2020/08/04
 */

namespace app\api\controller;
use app\api\service\MessageService;
use think\Log;

class Message extends Common
{
	/**
	 * 免费试用
	 * User: Truman
	 * Date: 2020/08/12
	 *
	 */
	public function freetrial()
	{
		$data = input();
		Log::record('接收免费试用数据====：'.json_encode($data),'freetrial');
		$res = (new MessageService())->freetrial($data);
		Log::record('返回数据：'.json_encode($res),'freetrial');
	}
}